Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetAngularUnits

You can use the QTVRSetAngularUnits function to set the type of unit used when specifying angles.

OSErr QTVRSetAngularUnits (QTVRInstance qtvr, QTVRAngularUnits units);
qtvr
An instance of a QuickTime VR movie.
units
A constant that indicates the type of angular units to use. See "Angular Unit Types" for a description of the available angular unit types.
function result
A result code.

DESCRIPTION

The QTVRSetAngularUnits function sets the type of angular units to be used in all subsequent QuickTime VR Manager calls for the QuickTime VR movie specified by the qtvr parameter to the unit type specified by the units parameter.

SEE ALSO

Use QTVRGetAngularUnits [link] to get the type of angular unit used by a QuickTime VR movie. Listing 2-3 illustrates the use of QTVRSetAngularUnits .


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |